<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.12"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>libcrtc: crtc::AudioBuffer Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">libcrtc
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.12 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><b>crtc</b></li><li class="navelem"><a class="el" href="classcrtc_1_1_audio_buffer.html">AudioBuffer</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="classcrtc_1_1_audio_buffer-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">crtc::AudioBuffer Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div>  </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
Inheritance diagram for crtc::AudioBuffer:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classcrtc_1_1_audio_buffer.png" usemap="#crtc::AudioBuffer_map" alt=""/>
  <map id="crtc::AudioBuffer_map" name="crtc::AudioBuffer_map">
<area href="classcrtc_1_1_array_buffer.html" alt="crtc::ArrayBuffer" shape="rect" coords="0,56,108,80"/>
<area href="classcrtc_1_1_reference.html" alt="crtc::Reference" shape="rect" coords="0,0,108,24"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a3c80aa60bc1af08e8138a8730ad3f3fa"><td class="memItemLeft" align="right" valign="top"><a id="a3c80aa60bc1af08e8138a8730ad3f3fa"></a>
virtual int&#160;</td><td class="memItemRight" valign="bottom"><b>Channels</b> () const =0</td></tr>
<tr class="separator:a3c80aa60bc1af08e8138a8730ad3f3fa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a437e8bdf6dfa91c67ccc54bf17db6814"><td class="memItemLeft" align="right" valign="top"><a id="a437e8bdf6dfa91c67ccc54bf17db6814"></a>
virtual int&#160;</td><td class="memItemRight" valign="bottom"><b>SampleRate</b> () const =0</td></tr>
<tr class="separator:a437e8bdf6dfa91c67ccc54bf17db6814"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acc5caf467885ab7394f33ceac2d66a8c"><td class="memItemLeft" align="right" valign="top"><a id="acc5caf467885ab7394f33ceac2d66a8c"></a>
virtual int&#160;</td><td class="memItemRight" valign="bottom"><b>BitsPerSample</b> () const =0</td></tr>
<tr class="separator:acc5caf467885ab7394f33ceac2d66a8c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4fcdf8636414138c27e31c034e4d6f5f"><td class="memItemLeft" align="right" valign="top"><a id="a4fcdf8636414138c27e31c034e4d6f5f"></a>
virtual int&#160;</td><td class="memItemRight" valign="bottom"><b>Frames</b> () const =0</td></tr>
<tr class="separator:a4fcdf8636414138c27e31c034e4d6f5f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classcrtc_1_1_array_buffer"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classcrtc_1_1_array_buffer')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classcrtc_1_1_array_buffer.html">crtc::ArrayBuffer</a></td></tr>
<tr class="memitem:a583b796ade95f3d75754153095d8df72 inherit pub_methods_classcrtc_1_1_array_buffer"><td class="memItemLeft" align="right" valign="top"><a id="a583b796ade95f3d75754153095d8df72"></a>
virtual size_t&#160;</td><td class="memItemRight" valign="bottom"><b>ByteLength</b> () const =0</td></tr>
<tr class="separator:a583b796ade95f3d75754153095d8df72 inherit pub_methods_classcrtc_1_1_array_buffer"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abafde343f3fcff8b848632710c1185f3 inherit pub_methods_classcrtc_1_1_array_buffer"><td class="memItemLeft" align="right" valign="top"><a id="abafde343f3fcff8b848632710c1185f3"></a>
virtual <a class="el" href="classcrtc_1_1_let.html">Let</a>&lt; <a class="el" href="classcrtc_1_1_array_buffer.html">ArrayBuffer</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>Slice</b> (size_t begin=0, size_t end=0) const =0</td></tr>
<tr class="separator:abafde343f3fcff8b848632710c1185f3 inherit pub_methods_classcrtc_1_1_array_buffer"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0970576be179192a0cd35efe10e4979a inherit pub_methods_classcrtc_1_1_array_buffer"><td class="memItemLeft" align="right" valign="top"><a id="a0970576be179192a0cd35efe10e4979a"></a>
virtual uint8_t *&#160;</td><td class="memItemRight" valign="bottom"><b>Data</b> ()=0</td></tr>
<tr class="separator:a0970576be179192a0cd35efe10e4979a inherit pub_methods_classcrtc_1_1_array_buffer"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2499896c0fedb7ff1445426a073c328f inherit pub_methods_classcrtc_1_1_array_buffer"><td class="memItemLeft" align="right" valign="top"><a id="a2499896c0fedb7ff1445426a073c328f"></a>
virtual const uint8_t *&#160;</td><td class="memItemRight" valign="bottom"><b>Data</b> () const =0</td></tr>
<tr class="separator:a2499896c0fedb7ff1445426a073c328f inherit pub_methods_classcrtc_1_1_array_buffer"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abb1879a32f3e2c9e271a64922299b463 inherit pub_methods_classcrtc_1_1_array_buffer"><td class="memItemLeft" align="right" valign="top"><a id="abb1879a32f3e2c9e271a64922299b463"></a>
virtual std::string&#160;</td><td class="memItemRight" valign="bottom"><b>ToString</b> () const =0</td></tr>
<tr class="separator:abb1879a32f3e2c9e271a64922299b463 inherit pub_methods_classcrtc_1_1_array_buffer"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a32610f45824336729785e069678566b9"><td class="memItemLeft" align="right" valign="top"><a id="a32610f45824336729785e069678566b9"></a>
static <a class="el" href="classcrtc_1_1_let.html">Let</a>&lt; <a class="el" href="classcrtc_1_1_audio_buffer.html">AudioBuffer</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>New</b> (int channels=2, int sampleRate=44100, int bitsPerSample=8, int frames=1)</td></tr>
<tr class="separator:a32610f45824336729785e069678566b9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a10009586b3b6322ffad922b14b9aaa52"><td class="memItemLeft" align="right" valign="top"><a id="a10009586b3b6322ffad922b14b9aaa52"></a>
static <a class="el" href="classcrtc_1_1_let.html">Let</a>&lt; <a class="el" href="classcrtc_1_1_audio_buffer.html">AudioBuffer</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>New</b> (const <a class="el" href="classcrtc_1_1_let.html">Let</a>&lt; <a class="el" href="classcrtc_1_1_array_buffer.html">ArrayBuffer</a> &gt; &amp;buffer, int channels=2, int sampleRate=44100, int bitsPerSample=8, int frames=1)</td></tr>
<tr class="separator:a10009586b3b6322ffad922b14b9aaa52"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_static_methods_classcrtc_1_1_array_buffer"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_classcrtc_1_1_array_buffer')"><img src="closed.png" alt="-"/>&#160;Static Public Member Functions inherited from <a class="el" href="classcrtc_1_1_array_buffer.html">crtc::ArrayBuffer</a></td></tr>
<tr class="memitem:ae9d5681fdfc25bcdea90827470810a7d inherit pub_static_methods_classcrtc_1_1_array_buffer"><td class="memItemLeft" align="right" valign="top"><a id="ae9d5681fdfc25bcdea90827470810a7d"></a>
static <a class="el" href="classcrtc_1_1_let.html">Let</a>&lt; <a class="el" href="classcrtc_1_1_array_buffer.html">ArrayBuffer</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>New</b> (size_t byteLength=0)</td></tr>
<tr class="separator:ae9d5681fdfc25bcdea90827470810a7d inherit pub_static_methods_classcrtc_1_1_array_buffer"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3f759b7845919d7df94dff3363687c59 inherit pub_static_methods_classcrtc_1_1_array_buffer"><td class="memItemLeft" align="right" valign="top"><a id="a3f759b7845919d7df94dff3363687c59"></a>
static <a class="el" href="classcrtc_1_1_let.html">Let</a>&lt; <a class="el" href="classcrtc_1_1_array_buffer.html">ArrayBuffer</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>New</b> (const std::string &amp;data)</td></tr>
<tr class="separator:a3f759b7845919d7df94dff3363687c59 inherit pub_static_methods_classcrtc_1_1_array_buffer"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a63b521d5807b31ae218ddabdcaf06f25 inherit pub_static_methods_classcrtc_1_1_array_buffer"><td class="memItemLeft" align="right" valign="top"><a id="a63b521d5807b31ae218ddabdcaf06f25"></a>
static <a class="el" href="classcrtc_1_1_let.html">Let</a>&lt; <a class="el" href="classcrtc_1_1_array_buffer.html">ArrayBuffer</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>New</b> (const uint8_t *data, size_t byteLength=0)</td></tr>
<tr class="separator:a63b521d5807b31ae218ddabdcaf06f25 inherit pub_static_methods_classcrtc_1_1_array_buffer"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>include/<a class="el" href="crtc_8h_source.html">crtc.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.12
</small></address>
</body>
</html>
